package chapter08;

import java.util.Scanner;

public class Day1 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入一个整数：");
        int num = input.nextInt();
        for (int i = 0;i<=num;i++){
            if (num == i*i){
                System.out.println(i+"是"+num+"平方");
            }
            if (i==num&&i!=1){
                System.out.println("不是任何数的平方");
            }
        }

    }
}
